var AppCommon = require('../common/appCommon');
var ReactDom = require('react-dom');
var Immutable = require('immutable');
var Settings = require('./setting');
var EventEmitter = require('events').EventEmitter;
var objectAssign = require('object-assign');


var Stores = objectAssign({},EventEmitter.prototype,{

    get: function (obj) {
        return Settings[obj];
    },

    getHomeModuleList: function (res) {

        Settings.homeModule = Immutable.fromJS(res);
        var dd = Stores.get('homeModule').toJSON();
    }
});


module.exports = Stores;
